package com.producerandconsumer;

public class Main {
    public static void main(String[] args) {
        MyStack stack = new MyStack(5);

        Thread t1 = new ThreadProducer(stack);
        Thread t2 = new Consumer(stack);



        t1.start();
        t2.start();
    }
}
